﻿using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OurMind.Core
{
    ///<summary>连接关系。</summary>
    public class MindConnect
    {
        ///<summary>连接点的一端。</summary>
        public int FromID { get; set; }

        ///<summary>连接点的另一端。</summary>
        public int ToID { get; set; }

        public MindConnect()
        {
            
        }

        public MindConnect(int fromPoint, int toPoint)
        {
            FromID = fromPoint;
            ToID = toPoint;
        }

        public override string ToString()
        {
            return $"from {FromID,8} to {ToID,8}";
        }


    }
}
